﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucGioiThieu.ascx.cs" Inherits="Admin_ucControl_ucGioiThieu" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<div id="tabledata" class="section">
    <h2 class="ico_mug">
        GIỚI THIỆU</h2>
    <table>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            Nội dung giới thiệu
                        </td>
                        <td>
                            <FCKeditorV2:FCKeditor ID="FCKGioiThieu" runat="server" BasePath="~/fckeditor/" Width="700px"
                                Height="400px">
                            </FCKeditorV2:FCKeditor>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                ValidationGroup="save" ControlToValidate="FCKGioiThieu"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="btnSave" runat="server" Text="Save" ValidationGroup="save" OnClick="btnSave_Click" />
                        </td>
                    </tr>
                </table>
            </td>
            <td valign="top">
                <asp:GridView ID="grdGioiThieu" runat="server" AutoGenerateColumns="False">
                    <Columns>
                        <asp:HyperLinkField DataNavigateUrlFields="IDIntroduc" DataTextField="IDIntroduc"
                            HeaderText="ID" DataNavigateUrlFormatString="~/Admin/GioiThieu.aspx?id={0}">
                            <ItemStyle ForeColor="Blue" />
                        </asp:HyperLinkField>
                        <asp:TemplateField HeaderText="Nội Dung">
                            <ItemTemplate>
                                <%-- <asp:Label ID="lbNoiDung" runat="server" Text='<%# Server.HtmlDecode(Eval("Introduction").ToString()) %>' Width="350px" ></asp:Label>--%>
                                <asp:HyperLink ID="linkView" runat="server" NavigateUrl="~/Admin/ViewGioiThieu.aspx?&keepThis=true&TB_iframe=true&width=600&height=510"
                                    CssClass="thickbox" ToolTip="GIỚI THIỆU">Xem trước</asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</div>
